package com.qianniu.napi.admin.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenxuebin
 * @since 2020-07-04
 */
@TableName("t_user_ext")
public class UserExt extends Model<UserExt> {

    private static final long serialVersionUID = 1L;

	@TableId(value = "uid", type = IdType.INPUT)
	private Long uid;

    /**
     * 用户标签
     */
	private String tags;
    /**
     * 工作年限
     */
	private Integer workyears;
    /**
     * 固定休息日子#w1：周一；m3：每月3号；多个用英文分号区分
     */
	private String restday;

	private String cardno;
	private String carda;
	private String cardb;
	private Date dutytime;

	private String duty;
	private String workhour;
	private String techang;
	private BigDecimal price;
	private BigDecimal dixing;
	private Long sid;
	private Long mpid;


	public Long getUid() {
		return uid;
	}

	public void setUid(Long uid) {
		this.uid = uid;
	}

	public String getTags() {
		return tags;
	}

	public void setTags(String tags) {
		this.tags = tags;
	}

	public Integer getWorkyears() {
		return workyears;
	}

	public void setWorkyears(Integer workyears) {
		this.workyears = workyears;
	}

	public String getRestday() {
		return restday;
	}

	public void setRestday(String restday) {
		this.restday = restday;
	}

	public Long getSid() {
		return sid;
	}

	public void setSid(Long sid) {
		this.sid = sid;
	}

	public Long getMpid() {
		return mpid;
	}

	public void setMpid(Long mpid) {
		this.mpid = mpid;
	}

	public String getTechang() {
		return techang;
	}

	public void setTechang(String techang) {
		this.techang = techang;
	}

	public String getWorkhour() {
		return workhour;
	}

	public void setWorkhour(String workhour) {
		this.workhour = workhour;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public BigDecimal getDixing() {
		return dixing;
	}

	public void setDixing(BigDecimal dixing) {
		this.dixing = dixing;
	}

	public String getCardno() {
		return cardno;
	}

	public void setCardno(String cardno) {
		this.cardno = cardno;
	}

	public Date getDutytime() {
		return dutytime;
	}

	public void setDutytime(Date dutytime) {
		this.dutytime = dutytime;
	}

	public String getDuty() {
		return duty;
	}

	public void setDuty(String duty) {
		this.duty = duty;
	}

	public String getCarda() {
		return carda;
	}

	public void setCarda(String carda) {
		this.carda = carda;
	}

	public String getCardb() {
		return cardb;
	}

	public void setCardb(String cardb) {
		this.cardb = cardb;
	}

	@Override
	protected Serializable pkVal() {
		return this.uid;
	}

	@Override
	public String toString() {
		return "UserExt{" +
			"uid=" + uid +
			", tags=" + tags +
			", workyears=" + workyears +
			", restday=" + restday +
			", sid=" + sid +
			", mpid=" + mpid +
			"}";
	}
}
